package com.human.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.human.entity.Emprp;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 员工奖惩情况 Mapper 接口
 * </p>
 *
 * @author jzq
 * @since 2023-02-28
 */
@Mapper
public interface EmprpMapper extends BaseMapper<Emprp> {

    IPage<Emprp> getEmprpAndEmp(IPage<Emprp> page, String name);

    int addEmprp(Emprp emprp);

    int updateEmprp(Emprp emprp);

}
